using System;
using System.Data;
namespace Rogan.Data
{
	[Serializable]
	public class QueryParameter
	{
		public string Name
		{
			get;
			set;
		}
		public object Value
		{
			get;
			set;
		}
		public DbType? DbType
		{
			get;
			set;
		}
		public int? Size
		{
			get;
			set;
		}
		public QueryParameter(string name)
		{
			Name = name;
		}
		public QueryParameter(string name, object pValue) : this(name)
		{
			Value = pValue;
		}
		public QueryParameter(string name, object pValue, DbType? dbtype, int? size) : this(name)
		{
			Value = pValue;
			DbType = dbtype;
			Size = size;
		}
	}
}
